At 4:38 PM -0400 5/12/05, Tom Lane wrote:
>"D.C." <coughlandesmond@yahoo.fr> writes:
>> Thanks again, and may I now make the most of your generosity by asking
>> another question ? I got an error message when
>> ./configuring postgreSQL, and now I find that I don't have 'history',
>> and I can't use the 'up' arrow to cycle through previous commands. The
>> error was about 'readline', I think.
>
>Yup, you need libreadline to support that.
>
>> The installation I use is on an iBook, which might sound mad, but I
>> want a version to be able to take everywhere with me, and learn whilst
>> on the bus, in the train etc ..
>
>I use a Mac laptop too. Personally, I get the readline sources
>(check freshmeat.net for a pointer) and build/install them in the
>default way, which drops 'em in /usr/local. This is highly Not Mac
>Approved I'm sure, but it gets the job done. You could no doubt also
>get readline from the fink project, if you'd rather have something
>prebuilt (but then again why are you building PG by hand if that's
>what you want ...)
There's nothing wrong with dropping stuff in /usr/local/ on a Mac.
That's how I do it too. Apple makes an effort not to stomp in
/usr/local for obvious reasons. :-)
-pmb